package survivalstagegenerator;

import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;


public class SurvivalStageGenerator {
	private static final int DIFFICULTY = 1;
	private static final int BOSS_PHASE_QUANTITY = 5;
	private static final int STAGE_BOUND_VALUE = 1800;
	
	private static SurvivalStage survivalStage;
	
    private static void createSurvivalStage() {
    	SurvivalStageGenerator.survivalStage = new SurvivalStage();
        SurvivalStageGenerator.survivalStage.createSurvivalStage(DIFFICULTY, BOSS_PHASE_QUANTITY, STAGE_BOUND_VALUE);
        
        try {
        	SurvivalStageGenerator.survivalStage.saveStage();
        }
        catch (IOException ex) {
            Logger.getLogger(SurvivalStageGenerator.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
    
    public static void main(final String[] args) {
    	System.out.println("Program started.");
    	SurvivalStageGenerator.createSurvivalStage();
    	System.out.println("Program finished.");
    }
}